package com.vivimice.lotroller.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotate NotificationType field, indicated the listener's name
 * 
 * The listener must within the same class, and has a signature like:
 * 
 * void handler(); 
 * void handler(NotificationType type);
 * void handler(Object data);
 * void handler(NotificationType type, Object data);
 * 
 * @author vivimice
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface ListenAt {
	String[] value();
}
